public class Numbers
{
   /**
      Computes a sum of even integers 
      @param a the lower bound (may be odd or even)
      @param b the upper bound (may be odd or even)
      @return the sum of even integers between a and b (inclusive).
   */
   public int evenSum(int a, int b)
   {
      int result = 0;
      for(int i = a; i <= b; i++)
      {
         if(i % 2 == 0)
         {
            result += i;
         }
      }

      return result;
   }
}